package com.franz.noteapp.useCase

import com.franz.noteapp.bean.NoteBean
import com.franz.noteapp.room.repository.NoteRepository

class DeleteNote(private val repository: NoteRepository) {
    suspend operator fun invoke(noteBean: NoteBean){
        repository.deleteNote(noteBean)
    }
}